package com.seek.util;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.seek.dao.SmsLogDao;
import com.seek.model.entity.TSmsLog;

@Component("smsLogUtil")
public class SmsLogUtil {

	
	@Resource
	private TheadHelper theadHelper;
	@Resource
	private SmsLogDao smsLogDao;
	
	public void addSmsLog(TSmsLog smsLog) throws Exception {
		theadHelper.getTaskExecutor().execute(new SmsLogThread(smsLogDao, smsLog));
	}
}
